package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/***
 ** Create by Wedream on 2021/8/4
 *  实体：旭日图绘制的书本实体类
 *  book(id,type1,type2,star,book_name)
 */
@TableName("book_classification")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookClassification {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String type1;
    private String type2;
    private String star;
    private String bookName;
}
